package com.excesys.exsecs.energy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.excesys.exsecs.energy.entity.CostHourFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CostHourFlowMapper extends BaseMapper<CostHourFlow> {
    /* 区域 */
    List<Map<String, Object>> areaCostData(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    List<Map<String, Object>> areaCostDataBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天
    List<Map<String, Object>> areaCostDayBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天区间
    List<Map<String, Object>> areaCostDayBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月
    List<Map<String, Object>> areaCostMonthBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月区间
    List<Map<String, Object>> areaCostMonthBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年
    List<Map<String, Object>> areaCostYearsBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年区间
    List<Map<String, Object>> areaCostYearsBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    /* 部门 */
    List<Map<String, Object>> deptCostData(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

    List<Map<String, Object>> deptCostDataBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

    //天
    List<Map<String, Object>> deptCostDayBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天区间
    List<Map<String, Object>> deptCostDayBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月
    List<Map<String, Object>> deptCostMonthBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月区间
    List<Map<String, Object>> deptCostMonthBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年
    List<Map<String, Object>> deptCostYearsBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年区间
    List<Map<String, Object>> deptCostYearsBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

    /* 分项 */
    List<Map<String, Object>> subitemCostData(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    List<Map<String, Object>> subitemCostDataBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天
    List<Map<String, Object>> subitemCostDayBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天区间
    List<Map<String, Object>> subitemCostDayBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月
    List<Map<String, Object>> subitemCostMonthBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月区间
    List<Map<String, Object>> subitemCostMonthBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年
    List<Map<String, Object>> subitemCostYearsBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年区间
    List<Map<String, Object>> subitemCostYearsBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

    /* 支路 */
    List<Map<String, Object>> branchCostData(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    List<Map<String, Object>> branchCostDataBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

    //天
    List<Map<String, Object>> branchCostDayBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天区间
    List<Map<String, Object>> branchCostDayBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月
    List<Map<String, Object>> branchCostMonthBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月区间
    List<Map<String, Object>> branchCostMonthBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年
    List<Map<String, Object>> branchCostYearsBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年区间
    List<Map<String, Object>> branchCostYearsBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

    /* 设备 */
    List<Map<String, Object>> keqCostData(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    List<Map<String, Object>> keqCostDataBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天
    List<Map<String, Object>> keqCostDayBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //天区间
    List<Map<String, Object>> keqCostDayBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月
    List<Map<String, Object>> keqCostMonthBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //月区间
    List<Map<String, Object>> keqCostMonthBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年
    List<Map<String, Object>> keqCostYearsBingtu(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);
    //年区间
    List<Map<String, Object>> keqCostYearsBingtuSection(@Param("startTime")String startTime, @Param("endTime")String endTime, @Param("id")String id);

}